import * as React from 'react';
import 'react-native-gesture-handler';
import {NavigationContainer} from '@react-navigation/native';
import {Provider} from '@ant-design/react-native';

import {StackRouter} from './src/navigation';

const App = () => {
  return (
    // 路由=====Provider为了Toast能弹出
    <Provider>
      <NavigationContainer>
        <StackRouter />
      </NavigationContainer>
    </Provider>
  );
};
export default App;
